<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="js/echarts-all.js"></script>
<title>Insert title here</title>
</head>
<body>
<div id="main" style="height:400px;width:50%;"></div>
	<script type="text/javascript">
	 	var myChart = echarts.init(document.getElementById('main')); 
	 	option = {
	 		    title : {
	 		        text: '用户注册人数'
	 		    },

	 		    legend: {
	 		        data:['人数']
	 		    },

	 		    xAxis : [
	 		        {
	 		            type : 'category',
	 		            data : ${sx}
	 		        }
	 		    ],
	 		    yAxis : [
	 		        {
	 		            type : 'value'
	 		        }
	 		    ],
	 		    series : [
	 		        {
	 		            name:'人数',
	 		            type:'bar',
	 		            data:${sy}
	 		        }
	 		    ]
	 		};
	 	
	 		myChart.setOption(option); 
	</script>
</body>
</html>